package cn.edu.sdjzu.xg2121.domain;

public class School {
    private int id;
    private String description;
    private String no;
    private String remarks;
    private University university;

    public School(int id, String description, String no, String remarks) {
        this.id = id;
        this.description = description;
        this.no = no;
        this.remarks = remarks;
    }

    public School(int id, String description, String no, String remarks,University university) {
        this.id = id;
        this.description = description;
        this.no = no;
        this.remarks = remarks;
        this.university = university;

    }
    public University getUniversity(){
        return  university;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "School{" +
                "id=" + id +
                ", description='" + description + '\'' +
                ", no='" + no + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
